<!--
 * @message: 操作日志组件
-->
<template>
  <div>
    <Form inline :label-colon="true" class="search-form" :label-width="80">
      <FormItem label="账号">
        <Input v-model="params.rfUserAccount" placeholder="请输入账号"/>
      </FormItem>
      <FormItem label="姓名">
        <Input v-model="params.rfUserName" placeholder="请输入姓名"/>
      </FormItem>
      <FormItem label="操作菜单">
        <Input v-model="params.menuName"/>
      </FormItem>
      <FormItem :label-width="0">
        <Button
          type="primary"
          v-auth="'列表'"
          @click="publicGetData()"
          style="margin-right: 10px"
        >搜索
        </Button>
      </FormItem>
    </Form>
    <Breadcrumb></Breadcrumb>
    <BaseTable
      ref="baseTable"
      :action="action.readUserByPage"
      :columns="columns"

    />
  </div>
</template>

<script>
import { tableMixin } from '../../../mixin'
import API_KEY from '../../../api'
import columns from './operationlog-columns'
export default {
  name: 'OperationLog',
  mixins: [tableMixin],
  data () {
    return {
      params: {
        userAccount: '',
        userName: '',
        module: ''
      },
      action: {
        // 根据分页参数获取表格数据接口（查询表格数据只需要readMenuByPage参数和columns参数）
        readUserByPage: API_KEY.log.readOperationLog
      },
      columns
    }
  }
}
</script>

<style scoped>

</style>
